<include file="Public:wapheader" />
		<div class="pageindex">
			
			<div class="mainner">
				<div class="head">
					<img src="Public/Wap/images/pic09.jpg" />
					<div class="txt">
						<a href="{:U('My/index')}">我的</a>
						<div class="">
						</div>
					</div>
				</div>
				
				<!--ul class="links">
					<li>
						<a href="#"><img src="Public/Wap/images/index_icon1.png" /></a>
						<p><a href="#">房源</a></p>
					</li>
					<li>
						<a href="#"><img src="Public/Wap/images/index_icon2.png" /></a>
						<p><a href="#">客源</a></p>
					</li>
					<li>
						<a href="#"><img src="Public/Wap/images/index_icon3.png" /></a>
						<p><a href="#">租房</a></p>
					</li>
					<li>
						<a href="#"><img src="Public/Wap/images/index_icon4.png" /></a>
						<p><a href="#">卖房</a></p>
					</li>
					<li>
						<a href="#"><img src="Public/Wap/images/index_icon5.png" /></a>
						<p><a href="#">海外</a></p>
					</li>
					<li>
						<a href="#"><img src="Public/Wap/images/index_icon6.png" /></a>
						<p><a href="#">查成交</a></p>
					</li>
					<li>
						<a href="#"><img src="Public/Wap/images/index_icon7.png" /></a>
						<p><a href="#">经纪人</a></p>
					</li>
					<li>
						<a href="#"><img src="Public/Wap/images/index_icon8.png" /></a>
						<p><a href="#">近地铁</a></p>
					</li>
				</ul-->
				
				<!--div class="tool">
					<h4>常用工具</h4>
					<ul>
						<li>
							<a href="#"><img src="Public/Wap/images/index_icon11.png" /></a>
							<p><a href="#">去估价</a></p>
						</li>
						<li>
							<a href="#"><img src="Public/Wap/images/index_icon12.png" /></a>
							<p><a href="#">找经纪人</a></p>
						</li>
						<li>
							<a href="#"><img src="Public/Wap/images/index_icon13.png" /></a>
							<p><a href="#">客服电话</a></p>
						</li>
					</ul>
				</div-->
				
				<div class="comments">
					<h4 class="title2">推荐房源</h4>
					<ul style="margin-bottom: 55px">
						<volist name="useds" id="h">
							<li>
							<div class="list">
								<a href="{:U('used/detail')}&id={$h.id}" class="img"><img src="{$h.file}" /></a>
								<div class="txt">
									<p class="p1">{$h.title} {$h.chamber}室{$h.hall}厅 {$h.total_price}万</p>
									<p class="p2">{$h.chamber}室{$h.hall}厅 /{$h.area}平方米/{$h.aspect}</p>
									<p class="p3"><a href="#">随时看房</a></p>
									<p class="p4"><span>{$h.total_price}万</span> {$h.average_price}元/平</p>
								</div>
							</div>
							</li>
						</volist>
					</ul>
				</div>
			</div>
			<input type="hidden" name="page" id="page" value="{$page}">
		</div>
<script>
	var myScroll = new IScroll('#wrapper', {
		disableMouse: false,
		disablePointer: false,
		fadeScrollbars: false,
		click:  true,
		tap: true
	});
	// 上拉滑动事件
	/*myScroll.on("scrollEnd",function(){
		var y = myScroll.y, maxScrollY = myScroll.maxScrollY;
		if (y == maxScrollY){
			var page = $('#page').val ();
			var url = "{:U('index/loading')}";
			var data = {page:page};
			$.post (url, data, function (respose){
				if (respose.state == 'ok') {
					$('#page').val(respose.page);
					var data = respose.data;
					var html = '';
					$.each(data, function (i, v) {
						html += '<li>' +
								'<div class="list">' +
								'<a href="/wap.php?m=Wap&c=used&a=detail&id=' + v.id + '" class="img"><img src="' + v.img + '" /></a>' +
								'<a href="/wap.php?m=Wap&c=used&a=detail&id=' + v.id + '" class="txt">' +
								'<p class="name">' + v.title + '<span>' + v.add_time + '</span></p>' +
								'<p class="size">总面积： &nbsp;&nbsp;&nbsp;&nbsp;<span>' + v.area + '&nbsp;㎡</span></p>' +
								'<p class="price">总价：<span>' + v.total_price + '万</span></p></a>' +
								'<div class="clear"></div> <p class="link"><a href="#">' + v.tags + '</a></p> </div> </li>'
					});
					$('#scroller').append(html);
					myScroll.refresh();
					myScroll.scrollTo(0, maxScrollY * 6, 100, IScroll.utils.ease.circular);

				}
			},'json');
		}
	});*/
	//解决点不了A标签
	/*$('#scroller a').on('tap', function (){
	 $url = $(this).attr ('href');
	 location.href = $url;
	 });*/

</script>

<include file="Public:magfooter" />
